package com.yinhechuangji.sleuth.application.controller;

import com.yinhechuangji.sleuth.application.feign.TestFegin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: yaodx
 * @Date: 2018/7/11 15:58
 * @Description:
 */
@RestController
public class DemoController {

    @Autowired
    private TestFegin testFegin;

    @GetMapping(value = "/test123456")
    public String test(){
        return testFegin.test();
    }


}
